The Perfect Sundial